package File_sttudy;

import org.w3c.dom.ls.LSOutput;

import javax.swing.plaf.SeparatorUI;
import java.io.File;

public class File1 {
    public static void main(String[] args) {
        String pathSeparator = File.pathSeparator;
        System.out.println(pathSeparator);
        //打印路径分隔符   ;
        String separator = File.separator;
        System.out.println(separator);
        //打印文件名称分隔符   \
        //不同系统的文件符号不一样的的
    }
}
